home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_PICT / Source / PictController.h < prev    next >
Text File  |  1995-06-12  |  3KB  |  90 lines

  1. /***********************************************************************\
  2. Controller for Convert PICT which converts graphics from PICT to eps formats.
  3. Copyright (C) 1993 David John Burrowes
  4.  
  5. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
  6.  
  7. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  8.  
  9. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  10.  
  11. The author, David John Burrowes, can be reached at:
  12.     davidjohn@kira.net.netcom.com
  13.     David John Burrowes
  14.     1926 Ivy #10
  15.     San Mateo, CA 94403-1367
  16. \***********************************************************************/
  17.  
  18. /*
  19. ====================================================================
  20.     This is $Revision: 1.10 $ of this file
  21.     It was last modified by $Author: death $ on $Date: 93/04/04 23:30:18 $
  22. Note that this file was created while using the New Century Schoolbook Roman typeface.  You may find that some things line up strangely if you don't use that family.
  23.  
  24. History:
  25.     93.07.18    djb    Added instance variable for the current pict opcode conversion type, and
  26.                 the prototype for the method to reset it.
  27.  
  28. $Log:    PictController.h,v $
  29.  * Revision 1.10  93/04/04  23:30:18  death
  30.  * Sun Apr  4 23:30:17 PDT 1993
  31.  * 
  32.  * Revision 1.9  93/01/09  21:07:16  death
  33.  * Sat Jan  9 21:07:16 PST 1993
  34.  * 
  35.  * Revision 1.8  93/01/01  11:51:22  death
  36.  * Fri Jan  1 11:51:22 PST 1993
  37.  * 
  38.  * Revision 1.7  92/12/31  15:33:50  death
  39.  * Thu Dec 31 15:33:50 PST 1992
  40.  * 
  41.  * Revision 1.6  92/12/05  23:06:19  death
  42.  * Sat Dec  5 23:06:18 PST 1992
  43.  * 
  44.  ====================================================================
  45.  */
  46. #import "ConvertController.h"
  47. #import "PictConverter.h"
  48.  
  49. #define    PACKIMAGE    "PackImages"
  50. #define    USECLUTS        "WriteCLUTs"
  51. #define    VERBOSEPS        "VerbosePS"
  52. #define    CONVERTCHARS    "ConvertAllFamilies"
  53. //
  54. //    Define the default name, values and button tag #'s for the pict comment conversion
  55. //
  56. #define    CONVERTPICC    "PicCommentConversion"
  57. #define        CONVERTALLPICC    "Convert All"
  58. #define        DISCARDALLPICC    "Discard All"
  59. #define        PICCCONVERTTAG    1
  60. #define        PICCDELETETAG    2
  61.  
  62. @interface    PictController:ConvertController
  63. {
  64.     id    ConvertCommand;
  65.  
  66.     id    CompressButton;
  67.     id    ColorTableButton;
  68.     id    PSCodeSetButton;
  69.     id    ConvertAllCharsButton;
  70.     id    PicCommentItem;
  71.     
  72.     Boolean    PackImage;
  73.     Boolean    FoldInCLUTs;
  74.     Boolean    UseVerbosePS;
  75.     Boolean    ConvertAllChars;
  76.     PicCommentOpType    CommentOperation; // type comes from the PictConverter.
  77. }
  78.  
  79.  
  80. - init;
  81. - ConvertFrom: sourceFile To: destinationFile;
  82. - displayPreferences: sender;
  83. - ChangePacking: sender;
  84. - ChangeCLUTuse: sender;
  85. - ChangePSCodeSet: sender;
  86. - ChangeCharConversion: sender;
  87. - ChangeCommentProcessing: sender;
  88. - openSourceFile: (roCString) theFile;
  89. - openDestFile: (roCString) theFile;
  90. @end